﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    x:Class="ProtoXAMLDemoApp.Window1"
    Title="ProtoXaml - Demo" Height="411" Width="676" >
	<Window.Resources>
	</Window.Resources>
 	<DockPanel>
		<Menu DockPanel.Dock="Top" >
			<MenuItem Header="File">
				<MenuItem Header="Open" />
				<MenuItem Header="Save"/>
				<Separator />
				<MenuItem Header="Exit"/>
			</MenuItem>
			<MenuItem Header="Edit">
				<MenuItem Header="Cut" />
				<MenuItem Header="Copy"/>
				<MenuItem Header="Paste"/>
			</MenuItem>
			<MenuItem Header="Help">
				<MenuItem Header="Skins" x:Name="SkinsMenuItem"/>
				<Separator />
				<MenuItem Header="About"/>
			</MenuItem>
		</Menu>
		<Grid >		
            <Grid HorizontalAlignment="Center" VerticalAlignment="Center" >
				
				<Grid.ColumnDefinitions>
					<ColumnDefinition MinWidth="60" />
					<ColumnDefinition Width="220" />
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto" MinHeight="15"/>
					<RowDefinition Height="Auto" MinHeight="15"/>
					<RowDefinition Height="Auto" MinHeight="15"/>
					<RowDefinition Height="Auto" MinHeight="15"/>
					<RowDefinition Height="Auto" MinHeight="15"/>
				</Grid.RowDefinitions>
				
				<Label Margin="5"   Content="First Name:"   VerticalAlignment="Top" HorizontalAlignment="Left"/>
				<TextBox HorizontalAlignment="Stretch" Margin="5"  x:Name="textBox1"  Height="Auto"  VerticalAlignment="Top" Grid.Column="1"  />

				<Label Margin="5" VerticalAlignment="Top"  Height="Auto" Content="Last Name:" HorizontalAlignment="Left" Grid.Row="1"/>
				<TextBox HorizontalAlignment="Stretch" Margin="5" x:Name="textBox2" Height="Auto"  VerticalAlignment="Top" Grid.Column="1" Grid.Row="1"  />

				<Label Margin="5" VerticalAlignment="Top"  Height="Auto" Content="E-Mail Address:" HorizontalAlignment="Left" Grid.Row="2"/>
				<TextBox HorizontalAlignment="Stretch" Margin="5" x:Name="textBox3"  Height="Auto"  VerticalAlignment="Top" Grid.Column="1" Grid.Row="2"  />
				<TextBox HorizontalAlignment="Stretch" Margin="5,5,5,0" x:Name="textBox4"  Height="80"  VerticalAlignment="Top" Grid.Column="1" Grid.Row="3" VerticalScrollBarVisibility="Auto"  RenderTransformOrigin="0.5,0.5" d:LayoutOverrides="VerticalAlignment" Grid.RowSpan="1" AcceptsReturn="True" >test
                 test test test t</TextBox>
                <Button Margin="5" Padding="30,6"  HorizontalAlignment="Center" x:Name="button1" VerticalAlignment="Top"  Content="Register!"  Click="RegisterButtonClicked" Grid.Column="1" Grid.Row="4"  />

				<Label  Height="Auto" Content="Comments:" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left" Margin="5,5,5,5" VerticalAlignment="Top" Grid.Row="3"/>			
			</Grid>
		</Grid>
  </DockPanel>
</Window>
